function optimalPoint = findInterpolation(src,dest,candidates)

a = 0.8; b = 0.2; % more emphasis on length

for i=1:size(candidates,1)
    distance = norm(src-candidates(i,:)).^2 + norm(dest-candidates(i,:)).^2;
    height = candidates(i,3);
    
    score(i) = a*distance + b*height;
end

[val index] = min(score);
optimalPoint = candidates(index,:);
end